import request from '@/utils/request'

 export function projectTypeArr(params){
    return request({
      url:'/dict/projectType/list',
      method:'get',
      params
    })
  }
  export function nucleicAcidTypeArr(params){
    return request({
      url:'dict/type/list',
      method:'get',
      params
    })
  }
  export function sampleTypeArr(params){
    return request({
      url:'/dict/sampleType/list',
      method:'get',
      params
    })
  }
  export function platformTypeArr(params){
    return request({
      url:'/dict/analyze/list',
      method:'get',
      params
    })
  }
  export function reasonNameArr(params){
    return request({
      url:'/dict/reason/list',
      method:'get',
      params
    })
  }
//   ??外包商
  export function outsourcersArr(params){
    return request({
      url:'/dict/outsourcers/list',
      method:'get',
      params
    })
  }

  export function professionalArr(params){
    return request({
      url:'/dict/professional/list',
      method:'get',
      params
    })
  }

  // 查询条码/编号列表
export function barcodeCodeList(params) {
  return request({
    url: '/manage/manages/barcodePrintingList',
    method: 'get',
    params
  })
}
// 作废后归档
export function voidPlaceOn(data) {
  return request({
    url: '/manage/placeOn',
    method: 'post',
    data
  })
}
// 启用后归档删除
export function delPlaceOn(stateId) {
  return request({
    url: `/manage/placeOn/deleted/${stateId}`,
    method: 'delete'
  })
}
// 操作状态新增
export function manageOperation(data) {
  return request({
    url: `/manage/manageOperation`,
    method: 'post',
    data
  })
}
